package com.locatead.test.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.locatead.test.dao.SimpleDAO;
import com.locatead.test.model.SimpleModel;

@Component
public class SimpleService {
	
	@Autowired
	private SimpleDAO dao;
	
	public String attachStar(String original) {
		return original + "*";
	}
	
	public void createSimpleModel(SimpleModel s) {
		dao.createSimpleModel(s);
	}
}
